package com.monise.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

@Entity
@Table(name = "CAIXA")
public class Caixa implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Id
	@SequenceGenerator(name="CAIXA_SEQUENCE", sequenceName="CAIXA_SEQUENCE", initialValue=1, allocationSize=1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="CAIXA_SEQUENCE")
	@Column(name = "pkCaixa")
	private Long pkCaixa;

	public Long getPkCaixa() {
		return pkCaixa;
	}

	public void setPkCaixa(Long pkCaixa) {
		this.pkCaixa = pkCaixa;
	}

}
